package com.tianyuan.lims.utils;

import io.github.yedaxia.apidocs.Docs;
import io.github.yedaxia.apidocs.DocsConfig;

public class _DocGenerator {
    public static void main(String[] args) {
        DocsConfig config = new DocsConfig();
        config.setProjectPath("D:\\workspace_idea\\hjjc-lims-dms"); // root project path
        config.setProjectName("hjjc-lims-dms"); // project name
        config.setApiVersion("V1.0");       // api version
        config.setDocsPath("D:\\japidoc"); // api docs target path
        config.setAutoGenerate(Boolean.FALSE);  // auto generate
        config.setResourcePath("D:\\workspace_idea\\hjjc-lims-dms\\src\\main\\resources\\docconf");
        Docs.buildHtmlDocs(config); // execute to generate
    }
}
